package cn.snowsoft.iot.module.warning.service.warning.rule;

import cn.snowsoft.iot.framework.common.pojo.CommonResult;
import cn.snowsoft.iot.module.warning.controller.admin.home.vo.RuleUseCountVO;
import cn.snowsoft.iot.module.warning.controller.admin.warning.rule.vo.WarningRuleVO;
import cn.snowsoft.iot.module.warning.dal.dataobject.warning.rule.WarningRuleDO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IWarningRuleService extends IService<WarningRuleDO> {
    IPage<WarningRuleDO> selectWarningPage(WarningRuleVO ruleVO);

    CommonResult<Object> saveRule(WarningRuleDO warningDO);

    Integer getRuleCount();

}
